package com.tarena.csmall.sentinel.demo01.service;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Service;

/**
 * @author java@tedu.cn
 * @version 1.0
 */
@Service
public class HelloService {
    public String sayHi(String name) throws BlockException {
        String result="你好啊!"+name;
        return result;
    }
}
